//
//  UKWaterFlowLayout.h
//  HDYS
//
//  Created by qianfeng on 15-5-5.
//  Copyright (c) 2015年 kay. All rights reserved.
//

#import <UIKit/UIKit.h>

@protocol UKWaterFlowLayoutDelegate <NSObject>

- (NSInteger)numberOfColumns;

- (CGFloat)heightforItemAtIndexpath:(NSIndexPath *)indexpath;

@end

@interface UKWaterFlowLayout : UICollectionViewLayout

@property (nonatomic, assign) UIEdgeInsets sectionInsets;

@property (nonatomic, assign) CGFloat colSpace;
@property (nonatomic, assign) CGFloat lineSpace;

@property (nonatomic, assign) id<UKWaterFlowLayoutDelegate> delegate;


@end
